package com.zhao.dao;

import com.zhao.pojo.Major;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MajorDao {
    Major findByID(String majorID,String universityID);
    Major findByName(String majorName,String universityID);
    List<Major> findByDepartmentAndUniversityID(String departmentID,String universityID);
}
